package cn.iocoder.yudao.module.system.controller.admin.tenant.vo.institution;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 机构管理分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class InstitutionPageReqVO extends PageParam {

    @Schema(description = "机构名称", example = "王五")
    private String name;

    @Schema(description = "机构logo URL", example = "https://www.iocoder.cn")
    private String logoUrl;

    @Schema(description = "机构图片 URL", example = "https://www.iocoder.cn")
    private String imageUrl;

    @Schema(description = "省份编码")
    private String provinceCode;

    @Schema(description = "省份名称", example = "李四")
    private String provinceName;

    @Schema(description = "城市编码")
    private String cityCode;

    @Schema(description = "城市名称", example = "王五")
    private String cityName;

    @Schema(description = "区县编码")
    private String districtCode;

    @Schema(description = "区县名称", example = "芋艿")
    private String districtName;

    @Schema(description = "开设专业(多个用逗号分隔)")
    private String major;

    @Schema(description = "机构地址")
    private String address;

    @Schema(description = "培训地址")
    private String trainingAddress;

    @Schema(description = "联系人")
    private String contactPerson;

    @Schema(description = "联系电话")
    private String contactPhone;

    @Schema(description = "办学许可证开始日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDate[] licenseStartDate;

    @Schema(description = "办学许可证结束日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDate[] licenseEndDate;

    @Schema(description = "状态(0:禁用 1:启用)", example = "1")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "备注", example = "你猜")
    private String remark;

}